@pickhooks/sdk 0.2.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,4 @@
1
+ // Generated from out-agents (src/agents), mainnet factory 0x5965e2D2128248ac2CB4FFf312CFB098a1eDA232. Do not edit by hand: node scripts/gen-abis.mjs
2
+ export const agentsFactoryAbi = [{ "type": "function", "name": "MAX_PLATFORM_BPS", "inputs": [], "outputs": [{ "name": "", "type": "uint16" }], "stateMutability": "view" }, { "type": "function", "name": "POOL_MANAGER", "inputs": [], "outputs": [{ "name": "", "type": "address" }], "stateMutability": "view" }, { "type": "function", "name": "TICK_SPACING", "inputs": [], "outputs": [{ "name": "", "type": "int24" }], "stateMutability": "view" }, { "type": "function", "name": "VAULT", "inputs": [], "outputs": [{ "name": "", "type": "address" }], "stateMutability": "view" }, { "type": "function", "name": "coinCount", "inputs": [], "outputs": [{ "name": "", "type": "uint256" }], "stateMutability": "view" }, { "type": "function", "name": "coins", "inputs": [{ "name": "", "type": "uint256" }], "outputs": [{ "name": "", "type": "address" }], "stateMutability": "view" }, { "type": "function", "name": "desk", "inputs": [], "outputs": [{ "name": "", "type": "address" }], "stateMutability": "view" }, { "type": "function", "name": "floors", "inputs": [], "outputs": [{ "name": "", "type": "address" }], "stateMutability": "view" }, { "type": "function", "name": "hook", "inputs": [], "outputs": [{ "name": "", "type": "address" }], "stateMutability": "view" }, { "type": "function", "name": "init", "inputs": [{ "name": "hook_", "type": "address" }, { "name": "desk_", "type": "address" }], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "isCoin", "inputs": [{ "name": "", "type": "address" }], "outputs": [{ "name": "", "type": "bool" }], "stateMutability": "view" }, { "type": "function", "name": "launch", "inputs": [{ "name": "name", "type": "string" }, { "name": "symbol", "type": "string" }, { "name": "metadata", "type": "string" }, { "name": "p", "type": "tuple", "components": [{ "name": "r", "type": "tuple", "components": [{ "name": "mask", "type": "uint64" }, { "name": "maxWalletBps", "type": "uint16" }, { "name": "riseStartBps", "type": "uint16" }, { "name": "riseStepBps", "type": "uint16" }, { "name": "riseSeconds", "type": "uint32" }, { "name": "chapterStartBps", "type": "uint16" }, { "name": "chapterVolume", "type": "uint128" }, { "name": "clubMax", "type": "uint32" }, { "name": "gateToken", "type": "address" }, { "name": "gateMin", "type": "uint128" }, { "name": "maxTradeBps", "type": "uint16" }, { "name": "buysPerBlock", "type": "uint16" }, { "name": "maxGasPrice", "type": "uint64" }, { "name": "raiseBps", "type": "uint16" }, { "name": "raiseReset", "type": "uint32" }, { "name": "minBuy", "type": "uint128" }, { "name": "slowSeconds", "type": "uint32" }, { "name": "buyLimit", "type": "uint16" }, { "name": "dumpBuyBps", "type": "uint16" }, { "name": "dumpSellBps", "type": "uint16" }, { "name": "curveSmallBps", "type": "uint16" }, { "name": "curveFloorBps", "type": "uint16" }, { "name": "curveBigBagBps", "type": "uint16" }, { "name": "taperStartBps", "type": "uint16" }, { "name": "taperEndBps", "type": "uint16" }, { "name": "taperSoldBps", "type": "uint16" }, { "name": "unlockBuys", "type": "uint16" }, { "name": "devLockSeconds", "type": "uint32" }, { "name": "devCapBps", "type": "uint16" }, { "name": "devGapSeconds", "type": "uint32" }, { "name": "diamondSeconds", "type": "uint32" }, { "name": "cooldownSeconds", "type": "uint32" }, { "name": "jailWindow", "type": "uint32" }, { "name": "jailSeconds", "type": "uint32" }, { "name": "openHour", "type": "uint8" }, { "name": "closeHour", "type": "uint8" }, { "name": "weekdays", "type": "uint8" }, { "name": "sellsOpen", "type": "bool" }, { "name": "sellWindow", "type": "uint32" }, { "name": "sellPeriod", "type": "uint32" }, { "name": "tickSeconds", "type": "uint32" }, { "name": "bellSeconds", "type": "uint32" }, { "name": "bellSoldBps", "type": "uint16" }, { "name": "rewardPerBuy", "type": "uint128" }, { "name": "rewardMinBuy", "type": "uint128" }, { "name": "rewardEveryN", "type": "uint16" }, { "name": "jackpotSilence", "type": "uint32" }, { "name": "jackpotShareBps", "type": "uint16" }, { "name": "jackpotMinBuy", "type": "uint128" }, { "name": "jackpotFeeBps", "type": "uint16" }, { "name": "dipBps", "type": "uint16" }, { "name": "beacon", "type": "address" }, { "name": "beaconTargetBps", "type": "uint16" }, { "name": "partner", "type": "address" }, { "name": "reactBaseBps", "type": "uint16" }, { "name": "reactSensitivity", "type": "uint16" }] }, { "name": "buyFeeBps", "type": "uint16" }, { "name": "sellFeeBps", "type": "uint16" }, { "name": "burnBps", "type": "uint16" }, { "name": "lpBps", "type": "uint16" }, { "name": "floorBps", "type": "uint16" }, { "name": "rewardsBps", "type": "uint16" }, { "name": "jackpotBps", "type": "uint16" }, { "name": "creatorBps", "type": "uint16" }] }, { "name": "env", "type": "tuple", "components": [{ "name": "maxFeeBps", "type": "uint16" }, { "name": "maxCreatorBps", "type": "uint16" }, { "name": "allowedMask", "type": "uint64" }, { "name": "notice", "type": "uint32" }, { "name": "minGap", "type": "uint32" }, { "name": "vetoBps", "type": "uint16" }, { "name": "fireBps", "type": "uint16" }] }, { "name": "pilot", "type": "address" }, { "name": "salt", "type": "bytes32" }], "outputs": [{ "name": "token", "type": "address" }], "stateMutability": "payable" }, { "type": "function", "name": "lockAcquired", "inputs": [{ "name": "data", "type": "bytes" }], "outputs": [{ "name": "", "type": "bytes" }], "stateMutability": "nonpayable" }, { "type": "function", "name": "owner", "inputs": [], "outputs": [{ "name": "", "type": "address" }], "stateMutability": "view" }, { "type": "function", "name": "platformBps", "inputs": [], "outputs": [{ "name": "", "type": "uint16" }], "stateMutability": "view" }, { "type": "function", "name": "platformWallet", "inputs": [], "outputs": [{ "name": "", "type": "address" }], "stateMutability": "view" }, { "type": "function", "name": "setOwner", "inputs": [{ "name": "o", "type": "address" }], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "setPlatform", "inputs": [{ "name": "wallet", "type": "address" }, { "name": "platformBps_", "type": "uint16" }], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "setStartPrice", "inputs": [{ "name": "sqrtPrice", "type": "uint160" }, { "name": "tick", "type": "int24" }], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "sqrtPriceStart", "inputs": [], "outputs": [{ "name": "", "type": "uint160" }], "stateMutability": "view" }, { "type": "function", "name": "tickStart", "inputs": [], "outputs": [{ "name": "", "type": "int24" }], "stateMutability": "view" }, { "type": "event", "name": "Launched", "inputs": [{ "name": "token", "type": "address", "indexed": true }, { "name": "creator", "type": "address", "indexed": true }, { "name": "poolId", "type": "bytes32", "indexed": true }, { "name": "pilot", "type": "address", "indexed": false }, { "name": "floor", "type": "address", "indexed": false }, { "name": "curveSupply", "type": "uint256", "indexed": false }], "anonymous": false }, { "type": "error", "name": "Bad", "inputs": [{ "name": "what", "type": "string" }] }, { "type": "error", "name": "Bad", "inputs": [{ "name": "what", "type": "string" }] }, { "type": "error", "name": "InvalidTick", "inputs": [{ "name": "tick", "type": "int24" }] }, { "type": "error", "name": "Liquidity", "inputs": [] }, { "type": "error", "name": "NotOwner", "inputs": [] }, { "type": "error", "name": "NotReady", "inputs": [] }, { "type": "error", "name": "NotVault", "inputs": [] }];
3
+ export const agentsHookAbi = [{ "type": "function", "name": "BITMAP", "inputs": [], "outputs": [{ "name": "", "type": "uint16" }], "stateMutability": "view" }, { "type": "function", "name": "MAX_RUN", "inputs": [], "outputs": [{ "name": "", "type": "uint256" }], "stateMutability": "view" }, { "type": "function", "name": "MIN_LP", "inputs": [], "outputs": [{ "name": "", "type": "uint256" }], "stateMutability": "view" }, { "type": "function", "name": "RUN_GAP", "inputs": [], "outputs": [{ "name": "", "type": "uint256" }], "stateMutability": "view" }, { "type": "function", "name": "STEADY_BPS", "inputs": [], "outputs": [{ "name": "", "type": "uint256" }], "stateMutability": "view" }, { "type": "function", "name": "addLiquidity", "inputs": [{ "name": "token", "type": "address" }], "outputs": [{ "name": "liquidity", "type": "uint128" }], "stateMutability": "nonpayable" }, { "type": "function", "name": "afterSwap", "inputs": [{ "name": "", "type": "address" }, { "name": "key", "type": "tuple", "components": [{ "name": "currency0", "type": "address" }, { "name": "currency1", "type": "address" }, { "name": "hooks", "type": "address" }, { "name": "poolManager", "type": "address" }, { "name": "fee", "type": "uint24" }, { "name": "parameters", "type": "bytes32" }] }, { "name": "p", "type": "tuple", "components": [{ "name": "zeroForOne", "type": "bool" }, { "name": "amountSpecified", "type": "int256" }, { "name": "sqrtPriceLimitX96", "type": "uint160" }] }, { "name": "delta", "type": "int256" }, { "name": "", "type": "bytes" }], "outputs": [{ "name": "", "type": "bytes4" }, { "name": "", "type": "int128" }], "stateMutability": "nonpayable" }, { "type": "function", "name": "beforeInitialize", "inputs": [{ "name": "sender", "type": "address" }, { "name": "", "type": "tuple", "components": [{ "name": "currency0", "type": "address" }, { "name": "currency1", "type": "address" }, { "name": "hooks", "type": "address" }, { "name": "poolManager", "type": "address" }, { "name": "fee", "type": "uint24" }, { "name": "parameters", "type": "bytes32" }] }, { "name": "", "type": "uint160" }], "outputs": [{ "name": "", "type": "bytes4" }], "stateMutability": "view" }, { "type": "function", "name": "beforeSwap", "inputs": [{ "name": "", "type": "address" }, { "name": "key", "type": "tuple", "components": [{ "name": "currency0", "type": "address" }, { "name": "currency1", "type": "address" }, { "name": "hooks", "type": "address" }, { "name": "poolManager", "type": "address" }, { "name": "fee", "type": "uint24" }, { "name": "parameters", "type": "bytes32" }] }, { "name": "p", "type": "tuple", "components": [{ "name": "zeroForOne", "type": "bool" }, { "name": "amountSpecified", "type": "int256" }, { "name": "sqrtPriceLimitX96", "type": "uint160" }] }, { "name": "", "type": "bytes" }], "outputs": [{ "name": "", "type": "bytes4" }, { "name": "", "type": "int256" }, { "name": "", "type": "uint24" }], "stateMutability": "nonpayable" }, { "type": "function", "name": "burn", "inputs": [{ "name": "token", "type": "address" }], "outputs": [{ "name": "coinsBurned", "type": "uint256" }], "stateMutability": "nonpayable" }, { "type": "function", "name": "claim", "inputs": [], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "coinOf", "inputs": [{ "name": "token", "type": "address" }], "outputs": [{ "name": "creator", "type": "address" }, { "name": "floor", "type": "address" }, { "name": "start", "type": "uint40" }, { "name": "platformBps", "type": "uint16" }, { "name": "version", "type": "uint64" }, { "name": "curveSupply", "type": "uint128" }], "stateMutability": "view" }, { "type": "function", "name": "collectPlatform", "inputs": [], "outputs": [{ "name": "a", "type": "uint256" }], "stateMutability": "nonpayable" }, { "type": "function", "name": "desk", "inputs": [], "outputs": [{ "name": "", "type": "address" }], "stateMutability": "view" }, { "type": "function", "name": "factory", "inputs": [], "outputs": [{ "name": "", "type": "address" }], "stateMutability": "view" }, { "type": "function", "name": "feedFloor", "inputs": [{ "name": "token", "type": "address" }], "outputs": [{ "name": "a", "type": "uint256" }], "stateMutability": "nonpayable" }, { "type": "function", "name": "getHooksRegistrationBitmap", "inputs": [], "outputs": [{ "name": "", "type": "uint16" }], "stateMutability": "pure" }, { "type": "function", "name": "give", "inputs": [{ "name": "token", "type": "address" }, { "name": "bucket", "type": "uint8" }], "outputs": [], "stateMutability": "payable" }, { "type": "function", "name": "lockAcquired", "inputs": [{ "name": "data", "type": "bytes" }], "outputs": [{ "name": "", "type": "bytes" }], "stateMutability": "nonpayable" }, { "type": "function", "name": "move", "inputs": [{ "name": "token", "type": "address" }, { "name": "from", "type": "uint8" }, { "name": "to", "type": "uint8" }, { "name": "amount", "type": "uint256" }], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "outside", "inputs": [{ "name": "token", "type": "address" }], "outputs": [{ "name": "", "type": "uint256" }], "stateMutability": "view" }, { "type": "function", "name": "owed", "inputs": [{ "name": "", "type": "address" }], "outputs": [{ "name": "", "type": "uint256" }], "stateMutability": "view" }, { "type": "function", "name": "owedTotal", "inputs": [], "outputs": [{ "name": "", "type": "uint256" }], "stateMutability": "view" }, { "type": "function", "name": "platformOwed", "inputs": [], "outputs": [{ "name": "", "type": "uint256" }], "stateMutability": "view" }, { "type": "function", "name": "poolKeyOf", "inputs": [{ "name": "token", "type": "address" }], "outputs": [{ "name": "", "type": "tuple", "components": [{ "name": "currency0", "type": "address" }, { "name": "currency1", "type": "address" }, { "name": "hooks", "type": "address" }, { "name": "poolManager", "type": "address" }, { "name": "fee", "type": "uint24" }, { "name": "parameters", "type": "bytes32" }] }], "stateMutability": "view" }, { "type": "function", "name": "poolManager", "inputs": [], "outputs": [{ "name": "", "type": "address" }], "stateMutability": "view" }, { "type": "function", "name": "poolOf", "inputs": [{ "name": "", "type": "address" }], "outputs": [{ "name": "", "type": "bytes32" }], "stateMutability": "view" }, { "type": "function", "name": "programOf", "inputs": [{ "name": "token", "type": "address" }], "outputs": [{ "name": "", "type": "bytes" }], "stateMutability": "view" }, { "type": "function", "name": "register", "inputs": [{ "name": "key", "type": "tuple", "components": [{ "name": "currency0", "type": "address" }, { "name": "currency1", "type": "address" }, { "name": "hooks", "type": "address" }, { "name": "poolManager", "type": "address" }, { "name": "fee", "type": "uint24" }, { "name": "parameters", "type": "bytes32" }] }, { "name": "token", "type": "address" }, { "name": "creator", "type": "address" }, { "name": "floor", "type": "address" }, { "name": "platformBps", "type": "uint16" }, { "name": "curveSupply", "type": "uint128" }, { "name": "program", "type": "bytes" }], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "setDesk", "inputs": [{ "name": "desk_", "type": "address" }], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "setProgram", "inputs": [{ "name": "token", "type": "address" }, { "name": "program", "type": "bytes" }, { "name": "version", "type": "uint64" }], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "settleJackpot", "inputs": [{ "name": "token", "type": "address" }], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "stateOf", "inputs": [{ "name": "token", "type": "address" }], "outputs": [{ "name": "pots", "type": "tuple", "components": [{ "name": "treasury", "type": "uint128" }, { "name": "burn", "type": "uint128" }, { "name": "lp", "type": "uint128" }, { "name": "floor", "type": "uint128" }, { "name": "rewards", "type": "uint128" }, { "name": "jackpot", "type": "uint128" }] }, { "name": "totals", "type": "tuple", "components": [{ "name": "burnedBnb", "type": "uint128" }, { "name": "burnedCoins", "type": "uint128" }, { "name": "lpBnb", "type": "uint128" }, { "name": "lpLiquidity", "type": "uint128" }, { "name": "floorBnb", "type": "uint128" }, { "name": "lpCoins", "type": "uint128" }] }, { "name": "stats", "type": "tuple", "components": [{ "name": "buyers", "type": "uint32" }, { "name": "buys", "type": "uint32" }, { "name": "sells", "type": "uint32" }, { "name": "buysSinceSell", "type": "uint32" }, { "name": "lastBuyTime", "type": "uint40" }, { "name": "lastBuyBlock", "type": "uint64" }, { "name": "buysInBlock", "type": "uint16" }, { "name": "lastBuyer", "type": "address" }, { "name": "qualifyingBuys", "type": "uint32" }, { "name": "volume", "type": "uint128" }, { "name": "net", "type": "uint128" }, { "name": "peak", "type": "uint128" }, { "name": "lastBuyAmount", "type": "uint128" }] }, { "name": "jackpotLast", "type": "address" }, { "name": "jackpotTime", "type": "uint40" }], "stateMutability": "view" }, { "type": "function", "name": "vault", "inputs": [], "outputs": [{ "name": "", "type": "address" }], "stateMutability": "view" }, { "type": "function", "name": "wallets", "inputs": [{ "name": "", "type": "bytes32" }, { "name": "", "type": "address" }], "outputs": [{ "name": "buys", "type": "uint32" }, { "name": "lastBuy", "type": "uint40" }, { "name": "lastTrade", "type": "uint40" }], "stateMutability": "view" }, { "type": "event", "name": "Burned", "inputs": [{ "name": "token", "type": "address", "indexed": true }, { "name": "bnb", "type": "uint256", "indexed": false }, { "name": "coins", "type": "uint256", "indexed": false }], "anonymous": false }, { "type": "event", "name": "Claimed", "inputs": [{ "name": "who", "type": "address", "indexed": true }, { "name": "amount", "type": "uint256", "indexed": false }], "anonymous": false }, { "type": "event", "name": "FloorFed", "inputs": [{ "name": "token", "type": "address", "indexed": true }, { "name": "floor", "type": "address", "indexed": false }, { "name": "bnb", "type": "uint256", "indexed": false }], "anonymous": false }, { "type": "event", "name": "Given", "inputs": [{ "name": "token", "type": "address", "indexed": true }, { "name": "bucket", "type": "uint8", "indexed": false }, { "name": "from", "type": "address", "indexed": true }, { "name": "amount", "type": "uint256", "indexed": false }], "anonymous": false }, { "type": "event", "name": "JackpotWon", "inputs": [{ "name": "token", "type": "address", "indexed": true }, { "name": "winner", "type": "address", "indexed": true }, { "name": "amount", "type": "uint256", "indexed": false }], "anonymous": false }, { "type": "event", "name": "LiquidityAdded", "inputs": [{ "name": "token", "type": "address", "indexed": true }, { "name": "bnb", "type": "uint256", "indexed": false }, { "name": "coins", "type": "uint256", "indexed": false }, { "name": "liquidity", "type": "uint128", "indexed": false }], "anonymous": false }, { "type": "event", "name": "Moved", "inputs": [{ "name": "token", "type": "address", "indexed": true }, { "name": "from", "type": "uint8", "indexed": false }, { "name": "to", "type": "uint8", "indexed": false }, { "name": "amount", "type": "uint256", "indexed": false }], "anonymous": false }, { "type": "event", "name": "PlatformPaid", "inputs": [{ "name": "to", "type": "address", "indexed": true }, { "name": "amount", "type": "uint256", "indexed": false }], "anonymous": false }, { "type": "event", "name": "ProgramSet", "inputs": [{ "name": "token", "type": "address", "indexed": true }, { "name": "version", "type": "uint64", "indexed": false }], "anonymous": false }, { "type": "event", "name": "Registered", "inputs": [{ "name": "token", "type": "address", "indexed": true }, { "name": "id", "type": "bytes32", "indexed": true }, { "name": "creator", "type": "address", "indexed": true }, { "name": "floor", "type": "address", "indexed": false }, { "name": "platformBps", "type": "uint16", "indexed": false }], "anonymous": false }, { "type": "event", "name": "RewardEarned", "inputs": [{ "name": "token", "type": "address", "indexed": true }, { "name": "buyer", "type": "address", "indexed": true }, { "name": "amount", "type": "uint256", "indexed": false }], "anonymous": false }, { "type": "event", "name": "Traded", "inputs": [{ "name": "id", "type": "bytes32", "indexed": true }, { "name": "trader", "type": "address", "indexed": true }, { "name": "buy", "type": "bool", "indexed": false }, { "name": "tokens", "type": "uint256", "indexed": false }, { "name": "fee", "type": "uint256", "indexed": false }], "anonymous": false }, { "type": "error", "name": "AlreadyRegistered", "inputs": [] }, { "type": "error", "name": "BadBucket", "inputs": [] }, { "type": "error", "name": "Blocked", "inputs": [{ "name": "rule", "type": "uint8" }] }, { "type": "error", "name": "DeskSet", "inputs": [] }, { "type": "error", "name": "Empty", "inputs": [] }, { "type": "error", "name": "NoPlatform", "inputs": [] }, { "type": "error", "name": "NotDesk", "inputs": [] }, { "type": "error", "name": "NotFactory", "inputs": [] }, { "type": "error", "name": "NotPoolManager", "inputs": [] }, { "type": "error", "name": "NotVault", "inputs": [] }, { "type": "error", "name": "NothingOwed", "inputs": [] }, { "type": "error", "name": "PartialFill", "inputs": [] }, { "type": "error", "name": "TooSoon", "inputs": [] }, { "type": "error", "name": "UnknownPool", "inputs": [] }, { "type": "error", "name": "Unsteady", "inputs": [] }];
4
+ export const agentsDeskAbi = [{ "type": "function", "name": "activate", "inputs": [{ "name": "token", "type": "address" }], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "agentOf", "inputs": [{ "name": "token", "type": "address" }], "outputs": [{ "name": "pilot", "type": "address" }, { "name": "epoch", "type": "uint32" }, { "name": "lastChange", "type": "uint40" }, { "name": "version", "type": "uint64" }, { "name": "env", "type": "tuple", "components": [{ "name": "maxFeeBps", "type": "uint16" }, { "name": "maxCreatorBps", "type": "uint16" }, { "name": "allowedMask", "type": "uint64" }, { "name": "notice", "type": "uint32" }, { "name": "minGap", "type": "uint32" }, { "name": "vetoBps", "type": "uint16" }, { "name": "fireBps", "type": "uint16" }] }], "stateMutability": "view" }, { "type": "function", "name": "cancel", "inputs": [{ "name": "token", "type": "address" }], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "dueAt", "inputs": [{ "name": "token", "type": "address" }], "outputs": [{ "name": "", "type": "uint256" }], "stateMutability": "view" }, { "type": "function", "name": "factory", "inputs": [], "outputs": [{ "name": "", "type": "address" }], "stateMutability": "view" }, { "type": "function", "name": "fire", "inputs": [{ "name": "token", "type": "address" }, { "name": "amount", "type": "uint256" }], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "fireOf", "inputs": [{ "name": "token", "type": "address" }], "outputs": [{ "name": "locked", "type": "uint256" }, { "name": "needed", "type": "uint256" }], "stateMutability": "view" }, { "type": "function", "name": "fireTally", "inputs": [{ "name": "", "type": "address" }, { "name": "", "type": "uint32" }], "outputs": [{ "name": "", "type": "uint256" }], "stateMutability": "view" }, { "type": "function", "name": "handOver", "inputs": [{ "name": "token", "type": "address" }, { "name": "to", "type": "address" }], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "hook", "inputs": [], "outputs": [{ "name": "", "type": "address" }], "stateMutability": "view" }, { "type": "function", "name": "lastId", "inputs": [{ "name": "", "type": "address" }], "outputs": [{ "name": "", "type": "uint64" }], "stateMutability": "view" }, { "type": "function", "name": "locks", "inputs": [{ "name": "", "type": "address" }, { "name": "", "type": "address" }], "outputs": [{ "name": "amount", "type": "uint128" }, { "name": "vetoId", "type": "uint64" }, { "name": "fireEpoch", "type": "uint32" }, { "name": "vetoing", "type": "bool" }, { "name": "firing", "type": "bool" }], "stateMutability": "view" }, { "type": "function", "name": "move", "inputs": [{ "name": "token", "type": "address" }, { "name": "from", "type": "uint8" }, { "name": "to", "type": "uint8" }, { "name": "amount", "type": "uint256" }], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "pendingOf", "inputs": [{ "name": "token", "type": "address" }], "outputs": [{ "name": "id", "type": "uint64" }, { "name": "activeAt", "type": "uint40" }, { "name": "note", "type": "bytes32" }, { "name": "vetoLocked", "type": "uint256" }, { "name": "vetoNeeded", "type": "uint256" }, { "name": "p", "type": "tuple", "components": [{ "name": "r", "type": "tuple", "components": [{ "name": "mask", "type": "uint64" }, { "name": "maxWalletBps", "type": "uint16" }, { "name": "riseStartBps", "type": "uint16" }, { "name": "riseStepBps", "type": "uint16" }, { "name": "riseSeconds", "type": "uint32" }, { "name": "chapterStartBps", "type": "uint16" }, { "name": "chapterVolume", "type": "uint128" }, { "name": "clubMax", "type": "uint32" }, { "name": "gateToken", "type": "address" }, { "name": "gateMin", "type": "uint128" }, { "name": "maxTradeBps", "type": "uint16" }, { "name": "buysPerBlock", "type": "uint16" }, { "name": "maxGasPrice", "type": "uint64" }, { "name": "raiseBps", "type": "uint16" }, { "name": "raiseReset", "type": "uint32" }, { "name": "minBuy", "type": "uint128" }, { "name": "slowSeconds", "type": "uint32" }, { "name": "buyLimit", "type": "uint16" }, { "name": "dumpBuyBps", "type": "uint16" }, { "name": "dumpSellBps", "type": "uint16" }, { "name": "curveSmallBps", "type": "uint16" }, { "name": "curveFloorBps", "type": "uint16" }, { "name": "curveBigBagBps", "type": "uint16" }, { "name": "taperStartBps", "type": "uint16" }, { "name": "taperEndBps", "type": "uint16" }, { "name": "taperSoldBps", "type": "uint16" }, { "name": "unlockBuys", "type": "uint16" }, { "name": "devLockSeconds", "type": "uint32" }, { "name": "devCapBps", "type": "uint16" }, { "name": "devGapSeconds", "type": "uint32" }, { "name": "diamondSeconds", "type": "uint32" }, { "name": "cooldownSeconds", "type": "uint32" }, { "name": "jailWindow", "type": "uint32" }, { "name": "jailSeconds", "type": "uint32" }, { "name": "openHour", "type": "uint8" }, { "name": "closeHour", "type": "uint8" }, { "name": "weekdays", "type": "uint8" }, { "name": "sellsOpen", "type": "bool" }, { "name": "sellWindow", "type": "uint32" }, { "name": "sellPeriod", "type": "uint32" }, { "name": "tickSeconds", "type": "uint32" }, { "name": "bellSeconds", "type": "uint32" }, { "name": "bellSoldBps", "type": "uint16" }, { "name": "rewardPerBuy", "type": "uint128" }, { "name": "rewardMinBuy", "type": "uint128" }, { "name": "rewardEveryN", "type": "uint16" }, { "name": "jackpotSilence", "type": "uint32" }, { "name": "jackpotShareBps", "type": "uint16" }, { "name": "jackpotMinBuy", "type": "uint128" }, { "name": "jackpotFeeBps", "type": "uint16" }, { "name": "dipBps", "type": "uint16" }, { "name": "beacon", "type": "address" }, { "name": "beaconTargetBps", "type": "uint16" }, { "name": "partner", "type": "address" }, { "name": "reactBaseBps", "type": "uint16" }, { "name": "reactSensitivity", "type": "uint16" }] }, { "name": "buyFeeBps", "type": "uint16" }, { "name": "sellFeeBps", "type": "uint16" }, { "name": "burnBps", "type": "uint16" }, { "name": "lpBps", "type": "uint16" }, { "name": "floorBps", "type": "uint16" }, { "name": "rewardsBps", "type": "uint16" }, { "name": "jackpotBps", "type": "uint16" }, { "name": "creatorBps", "type": "uint16" }] }], "stateMutability": "view" }, { "type": "function", "name": "propose", "inputs": [{ "name": "token", "type": "address" }, { "name": "p", "type": "tuple", "components": [{ "name": "r", "type": "tuple", "components": [{ "name": "mask", "type": "uint64" }, { "name": "maxWalletBps", "type": "uint16" }, { "name": "riseStartBps", "type": "uint16" }, { "name": "riseStepBps", "type": "uint16" }, { "name": "riseSeconds", "type": "uint32" }, { "name": "chapterStartBps", "type": "uint16" }, { "name": "chapterVolume", "type": "uint128" }, { "name": "clubMax", "type": "uint32" }, { "name": "gateToken", "type": "address" }, { "name": "gateMin", "type": "uint128" }, { "name": "maxTradeBps", "type": "uint16" }, { "name": "buysPerBlock", "type": "uint16" }, { "name": "maxGasPrice", "type": "uint64" }, { "name": "raiseBps", "type": "uint16" }, { "name": "raiseReset", "type": "uint32" }, { "name": "minBuy", "type": "uint128" }, { "name": "slowSeconds", "type": "uint32" }, { "name": "buyLimit", "type": "uint16" }, { "name": "dumpBuyBps", "type": "uint16" }, { "name": "dumpSellBps", "type": "uint16" }, { "name": "curveSmallBps", "type": "uint16" }, { "name": "curveFloorBps", "type": "uint16" }, { "name": "curveBigBagBps", "type": "uint16" }, { "name": "taperStartBps", "type": "uint16" }, { "name": "taperEndBps", "type": "uint16" }, { "name": "taperSoldBps", "type": "uint16" }, { "name": "unlockBuys", "type": "uint16" }, { "name": "devLockSeconds", "type": "uint32" }, { "name": "devCapBps", "type": "uint16" }, { "name": "devGapSeconds", "type": "uint32" }, { "name": "diamondSeconds", "type": "uint32" }, { "name": "cooldownSeconds", "type": "uint32" }, { "name": "jailWindow", "type": "uint32" }, { "name": "jailSeconds", "type": "uint32" }, { "name": "openHour", "type": "uint8" }, { "name": "closeHour", "type": "uint8" }, { "name": "weekdays", "type": "uint8" }, { "name": "sellsOpen", "type": "bool" }, { "name": "sellWindow", "type": "uint32" }, { "name": "sellPeriod", "type": "uint32" }, { "name": "tickSeconds", "type": "uint32" }, { "name": "bellSeconds", "type": "uint32" }, { "name": "bellSoldBps", "type": "uint16" }, { "name": "rewardPerBuy", "type": "uint128" }, { "name": "rewardMinBuy", "type": "uint128" }, { "name": "rewardEveryN", "type": "uint16" }, { "name": "jackpotSilence", "type": "uint32" }, { "name": "jackpotShareBps", "type": "uint16" }, { "name": "jackpotMinBuy", "type": "uint128" }, { "name": "jackpotFeeBps", "type": "uint16" }, { "name": "dipBps", "type": "uint16" }, { "name": "beacon", "type": "address" }, { "name": "beaconTargetBps", "type": "uint16" }, { "name": "partner", "type": "address" }, { "name": "reactBaseBps", "type": "uint16" }, { "name": "reactSensitivity", "type": "uint16" }] }, { "name": "buyFeeBps", "type": "uint16" }, { "name": "sellFeeBps", "type": "uint16" }, { "name": "burnBps", "type": "uint16" }, { "name": "lpBps", "type": "uint16" }, { "name": "floorBps", "type": "uint16" }, { "name": "rewardsBps", "type": "uint16" }, { "name": "jackpotBps", "type": "uint16" }, { "name": "creatorBps", "type": "uint16" }] }, { "name": "note", "type": "bytes32" }], "outputs": [{ "name": "id", "type": "uint64" }], "stateMutability": "nonpayable" }, { "type": "function", "name": "register", "inputs": [{ "name": "token", "type": "address" }, { "name": "pilot", "type": "address" }, { "name": "env", "type": "tuple", "components": [{ "name": "maxFeeBps", "type": "uint16" }, { "name": "maxCreatorBps", "type": "uint16" }, { "name": "allowedMask", "type": "uint64" }, { "name": "notice", "type": "uint32" }, { "name": "minGap", "type": "uint32" }, { "name": "vetoBps", "type": "uint16" }, { "name": "fireBps", "type": "uint16" }] }], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "veto", "inputs": [{ "name": "token", "type": "address" }, { "name": "amount", "type": "uint256" }], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "withdraw", "inputs": [{ "name": "token", "type": "address" }], "outputs": [], "stateMutability": "nonpayable" }, { "type": "event", "name": "Activated", "inputs": [{ "name": "token", "type": "address", "indexed": true }, { "name": "id", "type": "uint64", "indexed": true }, { "name": "note", "type": "bytes32", "indexed": false }], "anonymous": false }, { "type": "event", "name": "Cancelled", "inputs": [{ "name": "token", "type": "address", "indexed": true }, { "name": "id", "type": "uint64", "indexed": true }], "anonymous": false }, { "type": "event", "name": "FireBacked", "inputs": [{ "name": "token", "type": "address", "indexed": true }, { "name": "who", "type": "address", "indexed": true }, { "name": "epoch", "type": "uint32", "indexed": true }, { "name": "total", "type": "uint256", "indexed": false }], "anonymous": false }, { "type": "event", "name": "Locked", "inputs": [{ "name": "token", "type": "address", "indexed": true }, { "name": "who", "type": "address", "indexed": true }, { "name": "amount", "type": "uint256", "indexed": false }], "anonymous": false }, { "type": "event", "name": "PilotFired", "inputs": [{ "name": "token", "type": "address", "indexed": true }, { "name": "pilot", "type": "address", "indexed": true }, { "name": "locked", "type": "uint256", "indexed": false }, { "name": "needed", "type": "uint256", "indexed": false }], "anonymous": false }, { "type": "event", "name": "PilotHandedOver", "inputs": [{ "name": "token", "type": "address", "indexed": true }, { "name": "from", "type": "address", "indexed": true }, { "name": "to", "type": "address", "indexed": true }], "anonymous": false }, { "type": "event", "name": "Proposed", "inputs": [{ "name": "token", "type": "address", "indexed": true }, { "name": "id", "type": "uint64", "indexed": true }, { "name": "note", "type": "bytes32", "indexed": false }, { "name": "activeAt", "type": "uint40", "indexed": false }], "anonymous": false }, { "type": "event", "name": "Registered", "inputs": [{ "name": "token", "type": "address", "indexed": true }, { "name": "pilot", "type": "address", "indexed": true }], "anonymous": false }, { "type": "event", "name": "TreasuryMoved", "inputs": [{ "name": "token", "type": "address", "indexed": true }, { "name": "from", "type": "uint8", "indexed": false }, { "name": "to", "type": "uint8", "indexed": false }, { "name": "amount", "type": "uint256", "indexed": false }], "anonymous": false }, { "type": "event", "name": "VetoBacked", "inputs": [{ "name": "token", "type": "address", "indexed": true }, { "name": "who", "type": "address", "indexed": true }, { "name": "id", "type": "uint64", "indexed": true }, { "name": "total", "type": "uint256", "indexed": false }], "anonymous": false }, { "type": "event", "name": "Vetoed", "inputs": [{ "name": "token", "type": "address", "indexed": true }, { "name": "id", "type": "uint64", "indexed": true }, { "name": "locked", "type": "uint256", "indexed": false }, { "name": "needed", "type": "uint256", "indexed": false }], "anonymous": false }, { "type": "event", "name": "Withdrawn", "inputs": [{ "name": "token", "type": "address", "indexed": true }, { "name": "who", "type": "address", "indexed": true }, { "name": "amount", "type": "uint256", "indexed": false }], "anonymous": false }, { "type": "error", "name": "Bad", "inputs": [{ "name": "what", "type": "string" }] }, { "type": "error", "name": "Closed", "inputs": [] }, { "type": "error", "name": "NoLock", "inputs": [] }, { "type": "error", "name": "NoPending", "inputs": [] }, { "type": "error", "name": "NoPilot", "inputs": [] }, { "type": "error", "name": "NotFactory", "inputs": [] }, { "type": "error", "name": "NotPilot", "inputs": [] }, { "type": "error", "name": "TooEarly", "inputs": [] }, { "type": "error", "name": "Transfer", "inputs": [] }];
@@ -1,6 +1,7 @@
1
1
  export { any3FactoryAbi, any3HookAbi } from "./any3.js";
2
2
  export { anyTaxFactoryAbi, anyTaxHookAbi } from "./anytax.js";
3
3
  export { stickyFactoryAbi, stickyTokenAbi, stickyValidatorAbi } from "./sticky.js";
4
+ export { coverDeskAbi, darkRoundAbi, launchDeskAbi, ruleAuctionAbi, sticky2FactoryAbi, sticky2TokenAbi, sticky2ValidatorAbi } from "./sticky2.js";
4
5
  export { v1BuySimCode, v1FactoryAbi, v1LockerAbi, v1TokenAbi } from "./v1.js";
5
6
  export { arenaAbi, floorVaultAbi, payrollBoxAbi, v2FactoryAbi, v2LockerAbi, v2TokenAbi, voteBoxAbi } from "./v2.js";
6
7
  export { plainTokenAbi, poolsFactoryAbi, poolsHookAbi } from "./pools.js";
@@ -9,4 +10,6 @@ export { lever2EngineAbi, lever2FactoryAbi, lever2HookAbi, lever2LensAbi } from
9
10
  export { callsDeskAbi, callsFactoryAbi, callsHookAbi } from "./calls.js";
10
11
  export { dipDeskAbi } from "./dips.js";
11
12
  export { hooksExecutorAbi, hooksFloorAbi, hooksFloorFactoryAbi } from "./infra.js";
13
+ export { agentsDeskAbi, agentsFactoryAbi, agentsHookAbi } from "./agents.js";
14
+ export { comboModeAbi, drandBeaconAbi, forwardModeAbi, sticky3FactoryAbi, sticky3LensAbi, sticky3TokenAbi, sticky3ValidatorAbi, } from "./sticky3.js";
12
15
  export { POOL_KEY, SWAP_EXACT_IN_SINGLE, clPoolManagerAbi, clQuoterAbi, erc20Abi, permit2Abi, universalRouterAbi, pancakeV2FactoryAbi, v2PairAbi, v3PoolAbi, v3QuoterAbi, v3RouterAbi, } from "./common.js";
@@ -1,6 +1,7 @@
1
1
  export { any3FactoryAbi, any3HookAbi } from "./any3.js";
2
2
  export { anyTaxFactoryAbi, anyTaxHookAbi } from "./anytax.js";
3
3
  export { stickyFactoryAbi, stickyTokenAbi, stickyValidatorAbi } from "./sticky.js";
4
+ export { coverDeskAbi, darkRoundAbi, launchDeskAbi, ruleAuctionAbi, sticky2FactoryAbi, sticky2TokenAbi, sticky2ValidatorAbi } from "./sticky2.js";
4
5
  export { v1BuySimCode, v1FactoryAbi, v1LockerAbi, v1TokenAbi } from "./v1.js";
5
6
  export { arenaAbi, floorVaultAbi, payrollBoxAbi, v2FactoryAbi, v2LockerAbi, v2TokenAbi, voteBoxAbi } from "./v2.js";
6
7
  export { plainTokenAbi, poolsFactoryAbi, poolsHookAbi } from "./pools.js";
@@ -9,4 +10,6 @@ export { lever2EngineAbi, lever2FactoryAbi, lever2HookAbi, lever2LensAbi } from
9
10
  export { callsDeskAbi, callsFactoryAbi, callsHookAbi } from "./calls.js";
10
11
  export { dipDeskAbi } from "./dips.js";
11
12
  export { hooksExecutorAbi, hooksFloorAbi, hooksFloorFactoryAbi } from "./infra.js";
13
+ export { agentsDeskAbi, agentsFactoryAbi, agentsHookAbi } from "./agents.js";
14
+ export { comboModeAbi, drandBeaconAbi, forwardModeAbi, sticky3FactoryAbi, sticky3LensAbi, sticky3TokenAbi, sticky3ValidatorAbi, } from "./sticky3.js";
12
15
  export { POOL_KEY, SWAP_EXACT_IN_SINGLE, clPoolManagerAbi, clQuoterAbi, erc20Abi, permit2Abi, universalRouterAbi, pancakeV2FactoryAbi, v2PairAbi, v3PoolAbi, v3QuoterAbi, v3RouterAbi, } from "./common.js";