Contracts
Every contract that powers the Chikn ecosystem on Avalanche, grouped by token standard.
ERC-1155 collection of crafting blueprints, burned to craft items in
items. Structurally identical to it (same token ID scheme), minus the correlation-tagged mint…Dedicated marketplace for
blueprint, structurally identical tochiknItemMarket…Core ERC-721 NFT contract for the original chikn.farm collection (Avalanche mainnet). Extends standard ERC-721 with…
Dedicated marketplace for
items, with fixed-price listings plus a separate WAVAX-denominated offer system…Naming + personality/bio service for chikns: pay to rename a chikn and set its bio (lore + flavour text). Also exposes a full set of RNS (roostr naming) functions mirroring
roostrNamingService, though the app only wires up its CNS/personality functions for chikns…The other "Nugg" reward NFT minted when a Kegg nesting session hatches; the rarer tier (
chugg_commonthroughchugg_unique), awarded based on the session's rarity score…PvP wager escrow for the Coqfight minigame: two players stake a configurable ERC-20 "wager" token on a match, a relay reports the winner, and the winner claims the pot minus a fee (partly burned). References chikn/roostr contract addresses, likely for eligibility checks elsewhere…
Per-wallet contract (deployed by
daycareFactory) that auto-feeds and levels up your deposited Roostrs via a relay service, for a fee, instead of you doing it manually…Beacon-proxy factory that deploys a personal "Daycare" contract for each wallet, used for auto-roosting Roostrs…
ERC-721 collectible collection with a built-in marketplace…
Combined ERC-20 token and staking ("roosting") contract for the original Chikn game. Extends standard ERC-20 with…
The EGG/AVAX liquidity-pool token on TraderJoe (LFJ) V1 (symbol
JLP). It's what players stake infarmingWormLP_V1(EGG/AVAX dual rewards) andfarmingEggLP_V1/V2/V3, and what those farms return on withdraw. Redeem it for EGG and AVAX by removing liquidity from the EGG/AVAX V1 pool on LFJ…Shared burn-ledger for egg. Any feature (e.g. Forage) registers as a named subscriber and burns egg through it, tagged with a correlation ID; tracks running totals per subscriber and globally…
Stake an EGG-paired LP token to earn feed, with yield boosted by activating a Farmland plot. Earliest version of this family; superseded by V2/V3…
Same as V1, adds spending fert directly into an activated farm…
Same as V2, adds an admin/relay-authorized claim path and a feed-multiplier toggle/drain. The version this family's app wiring most likely uses…
Dual-reward farm for staking FEED/AVAX TraderJoe LP tokens (the "$FEED / AVAX" pool on the original chikn.farm farming page), paying out two reward tokens…
Same pattern, for a FEED-paired LP token, earning feed. Notable:
feedInLp,FEED2EGGFACTOR.Dual-reward farm for staking FERT/AVAX TraderJoe LP tokens (the "$FERT / AVAX" pool on the original chikn.farm farming page), paying out two reward tokens…
Same LP-farming pattern (staking, farmland boost, claim, admin) as
farmingEggLP_V3, but for a FERT-paired LP token, earning feed. Notable:fertInLp,FERT2EGGFACTOR,FERT_TOKEN.Dual-reward farm for staking WORM/AVAX TraderJoe LP tokens (the "$WORM / AVAX" pool on the original chikn.farm farming page), paying out two reward tokens…
Same pattern, but pays out two reward tokens (dual-reward farm) for staking a WORM-paired LP token…
ERC-721 land NFT collection. Plots accrue
sizeandfertstats over time via forage/composting activity, which drive a resource-yield multiplier. Extends standard ERC-721 with…Companion contract that lets a plot owner level up their farmland's size, once per cooldown, spending egg…
Standalone naming registry for farmland plots (an alternative to the
changeName/fnsfunctions already built intofarmland), reserving unique names for a fee…Combined ERC-20 token and staking contract for the original Chikn game, where you stake egg to farm feed, which is then spent to feed chikns. Extends standard ERC-20 with…
The FEED/AVAX liquidity-pool token on TraderJoe (LFJ) V1 (symbol
JLP). It's what players stake infarmingFeedDualRewardsLP_V1andfarmingFeedLP_V1, and what those farms return on withdraw. Redeem it for FEED and AVAX by removing liquidity from the FEED/AVAX V1 pool on LFJ…Plain ERC-20 reward token for the Chikn game, earned by roosting Roostrs and via daycare-staked chikns. No staking or feeding logic lives here — it's mint/burn/transfer, gated by two owner-managed allowlists…
The FERT/AVAX liquidity-pool token on TraderJoe (LFJ) V1 (symbol
JLP). It's what players stake infarmingFertDualRewardsLP_V1andfarmingFertLP_V1, and what those farms return on withdraw. Redeem it for FERT and AVAX by removing liquidity from the FERT/AVAX V1 pool on LFJ…Same shared burn-ledger pattern as
eggBurn, for fert…ERC-1155 collection of equippable items for chikns/roostrs. Token IDs pack a base type + instance index…
The incubating "Egg" NFT for the Kegg nesting/hatching game; minted by paying AVAX or burning an ERC-20 token, then deposited into the nesting contract alongside a Nest NFT and chikns. Burned once its nesting session hatches…
Generalized, multi-collection NFT marketplace supporting chikn, rugg, and chugg (selected via an
NFTTypeenum), with pluggable per-collection offer contracts and a configurable ERC-20 payment token. Also references an egg contract at init…The "incubator" NFT for the Kegg nesting/hatching game; deposited alongside a Kegg (Egg) NFT and chikns to start a nesting session. Soulbound: transferable only between its original owner and the nesting contract…
On-chain escrow contract for the Kegg project's Telegram mini-app "egg care" game: deposit an Egg NFT + a Nest NFT + up to
MAX_CHIKNS_PER_SESSIONchikns into a session; the app tracks daily care off-chain, then a relay hatches the session once ready…Cross-chain bridge escrow for an ERC-1155 collection: park/burn an NFT on this chain so it can be reissued on another chain, then release it back on-chain when it returns…
Cosmetic/collectible ERC-721 (a "birthday cake" item), distributed via owner-triggered airdrop rather than self-serve minting…
Cosmetic/collectible ERC-721, claimed by eligible holders…
Earlier deployment of the same staking contract as
roostingRoostr_V2(identical ABI). Superseded by V2, which is the only version the current app wires up for live roosting — kept here for reference/legacy positions. See V2's description for the full function breakdown.Staking ("roosting") contract for the Roostr collection; the roostr counterpart to
egg's chikn-staking role. ReferencesROOSTR_CONTRACT,EGG_CONTRACT,FEED_CONTRACT, andFERT_CONTRACTto tie into the wider economy…ERC-721 NFT contract for the chikn.farm 'Roostr' collection. Extends standard ERC-721 with…
Convenience batch-helper wrapping
roostingRoostr_V2: pre-deposit egg once, then feed and level up many roostrs in a single call instead of repeating the transaction per token…A leaderboard/competition contract: burn egg to climb a ranking, tracked per-wallet and globally, with an on/off toggle…
Naming + personality/bio service for roostrs: pay to rename a roostr and set its bio (lore + flavour text)…
One of two "Nugg" reward NFTs minted when a Kegg nesting session hatches; the more common tier (
rugg_commonthroughrugg_legendary), awarded based on the session's rarity score. Structurally identical tochugg_mainnet, but with an owner-adjustable max supply (300,000 by default) instead of a fixed one…A pluggable offer contract that plugs into
marketplace_mainnet(registered there viaregisterOfferContract), letting buyers make offers on an NFT without it being actively listed…Tether USD on Avalanche C-Chain. Deployed behind an OpenZeppelin
TransparentUpgradeableProxy(theadmin/changeAdmin/implementation/upgradeTo*functions below belong to the proxy itself, copied verbatim from the block explorer's default ABI tab) — calls to this address are delegated to a separate implementation contract exposing the standard ERC-20 interface, appended below so this file resolves as ERC20 (seescripts/build-abi-index.js) the same way every other token in this ecosystem does…The standard wrapped-AVAX contract (external, not chikn's own) — deposit/withdraw native AVAX for its ERC-20 wrapped form. Used as the payment currency in a few contracts (e.g. the item/blueprint markets' WAVAX-denominated offers)…
Plain ERC-20 resource token used in Farmland's "Wormfarm" feature: deployed onto plots (via
wormBurn) to boost yield through a deployment-streak mechanic, and spent alongside egg when composting. Like fert, no staking/game logic lives here — just mint/burn/transfer, gated by two owner-managed allowlists, with a hard supply cap…The WORM/AVAX liquidity-pool token on TraderJoe (LFJ) V1 (symbol
JLP). It's what players stake infarmingWormDualRewardsLP_V1, and what those farms return on withdraw. Redeem it for WORM and AVAX by removing liquidity from the WORM/AVAX V1 pool on LFJ…Same shared burn-ledger pattern, for worm — this is what powers deploying worm onto a farmland plot (the "WormDeposit" subscriber, tagged with the plot's
farmIdas correlation ID)…