← Registry

Launch Guard

launch-guard@1.1.0 · by HOOKAWAY Labs

Anti-snipe: caps buy size for the first N slots after launch.

VerifiedMock program
Identity
Name
Launch Guard
Program ID
LGdZwFTf…sacH4p5j
Version
1.1.0
Source
hookaway-mock/launch-guard@4igsvrr
Upgrade authority
none (immutable)
Verification
source-verified
Audit status
none
CPI behaviour
none
Trust labels
  • VerifiedSource verified against the deployed program and manifest reviewed by HOOKAWAY.
Usage
Tokens using it
5
Transfers (30d, mock)
86.1K
Transaction success rate
83.8%

Success rate = HOOKAWAY-built transactions that confirmed ÷ submitted. Blocks by the hook's own rules are not failures.

Compatibility
  • Direct transfer●
  • Meridian AMM●
  • Orbit CLMM●
  • Relay AggregatorHook needs 4 extra accounts; Relay Aggregator forwards at most 3.×
  • Basin Legacy AMMBasin Legacy AMM cannot forward transfer-hook accounts.×
  • HOOKAWAY Launch Curve●
Config schema
  • guardSlotsSlots the guard is activeu32
  • maxBuyMax tokens per buy while activeu64
Extra account schema
AccountDerivationWS
config
Per-mint hook configuration.
pda(hook, ["config", acct[1]:mint])··
clock
Clock sysvar.
fixed SysvarC1…··
Errors & restrictions
  • 6110Launch guard active: max {maxBuy} tokens per buy.
  • —While the guard is active, each buy is limited.
Manifest
cross-check passed
  • ✓ Schema valid (manifest v0.1)
  • ✓ Program ID matches mint’s TransferHook extension
  • ✓ Upgrade authority matches declared authority
  • ✓ Declared accounts match on-chain ExtraAccountMetaList
  • ✓ All accounts derivable without off-chain input
{
  "$schema": "https://hookaway.dev/schema/manifest/v0.1.json",
  "manifestVersion": "0.1",
  "name": "launch-guard",
  "version": "1.1.0",
  "program": "LGdZwFTfoBUjoFqnUNWBwPaRRRWn8GJDMzKVsacH4p5j",
  "programAuthority": null,
  "description": "Anti-snipe: caps buy size for the first N slots after launch.",
  "source": {
    "repo": "https://github.com/hookaway-mock/launch-guard",
    "commit": "4igsvrr",
    "verifiedBuild": true
  },
  "config": {
    "fields": [
      {
        "key": "guardSlots",
        "type": "u32",
        "description": "Slots the guard is active"
      },
      {
        "key": "maxBuy",
        "type": "u64",
        "description": "Max tokens per buy while active"
      }
    ]
  },
  "accounts": [
    {
      "name": "config",
      "derivation": {
        "kind": "pda",
        "programId": "hook",
        "seeds": [
          {
            "kind": "literal",
            "value": "config"
          },
          {
            "kind": "account",
            "index": 1,
            "label": "mint"
          }
        ]
      },
      "writable": false,
      "signer": false,
      "description": "Per-mint hook configuration."
    },
    {
      "name": "clock",
      "derivation": {
        "kind": "fixed",
        "address": "SysvarC1ock11111111111111111111111111111111"
      },
      "writable": false,
      "signer": false,
      "description": "Clock sysvar."
    }
  ],
  "compatibility": {
    "transfer": true,
    "venues": "any-hook-aware",
    "maxExtraAccounts": 2
  },
  "transaction": {
    "computeUnits": 19000,
    "requiresLookupTable": false,
    "cpi": "none"
  },
  "simulation": {
    "adapter": "launch-guard"
  },
  "explain": {
    "6110": "Launch guard active: max {maxBuy} tokens per buy."
  },
  "restrictions": [
    "While the guard is active, each buy is limited."
  ]
}
Tokens using it (5)