Events

All events emitted by LP24 protocol contracts, with parameter types and indexing.

Factory Events

event PairDeployed:
    token: indexed(address)
    curve: indexed(address)
    deployer: indexed(address)
    name: String[64]
    symbol: String[32]
    packed_socials: bytes32

BondingCurve Events

event Buy:
    buyer: indexed(address)
    lots: uint256
    eth_sent: uint256
    base_price: uint256
    tax: uint256

event Sell:
    seller: indexed(address)
    lots: uint256
    eth_returned: uint256
    base_price: uint256
    tax: uint256

event Graduated:
    token: indexed(address)
    deployer: indexed(address)

event RefundInitiated:
    refund_per_lot: uint256

event RefundClaimed:
    user: indexed(address)
    lots: uint256
    eth_received: uint256

LiquidityGenHook Events

event TokenRegistered:
    token: indexed(address)
    deployer: indexed(address)
    positionId: uint256

event FeesDistributed:
    token: indexed(address)
    total: uint256

event DeployerWithdrawal:
    token: indexed(address)
    deployer: indexed(address)
    amount: uint256

event DeployerUpdated:
    token: indexed(address)
    oldDeployer: address
    newDeployer: address
    paidOut: uint256

event Reinvested:
    token: indexed(address)
    ethAmount: uint256
    tokensAdded: uint256
    liquidityAdded: uint256

event BuyAndBurn:
    token: indexed(address)
    ethSpent: uint256

event CTOVoteInitiated:
    token: indexed(address)
    vote_contract: indexed(address)
    initiator: address

TokenTemplate Events

event Transfer:
    sender: indexed(address)
    receiver: indexed(address)
    value: uint256

event Approval:
    owner: indexed(address)
    spender: indexed(address)
    value: uint256

event TradingEnabled:
    timestamp: uint256

CTOVoteTemplate Events

event VoteCast:
    voter: indexed(address)
    amount: uint256
    support: bool

event VoteEnded:
    yes_votes: uint256
    no_votes: uint256
    passed: bool

event VoteFinalized:
    new_deployer: address

event TokensWithdrawn:
    voter: indexed(address)
    amount: uint256

event CTOInitialized:
    token: indexed(address)
    initiator: indexed(address)
    initiator_stake: uint256

TokenSocials Events

event SocialsUpdated:
    token: indexed(address)
    packed: bytes32

event OwnerTransferred:
    token: indexed(address)
    previous_owner: address
    new_owner: address