INNER CODE UNIT · Python

process_data

FLOCK4H/Dexter · Dexter.py:532

    async def process_data(self, type, sig, data, raw_event_fingerprint=None, slot=None):
        """
            This method does concurrency control & the sub-second timestamp logic for each swap.
        """
        mint = data.get('mint', None)
        if not mint:
            return

        if self.leaderboard is None:
            return

        lock = self.mint_locks[mint]
        async with lock:
            # MINTS
            if type == "mints":
                owner = data.get("user")
                name = data.get("name")
                bonding_curve = data.get("bonding_curve")

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…