본문으로 건너뛰기
cccskills
무료GitHub에 공개

set-moonpay-standing-quotes

Update standing fee quotes for the CROSS/moonpay warp route. Use when asked to set, update, or change fees/bps for specific chains, tokens, or directions in the MoonPay route. Also use when asked to show or read current standing quotes.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

실행 점수 미검증

설치 방법 보기

포함된 파일(1)

  • SKILL.md5.9 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Set MoonPay Standing Quotes Skill

When to Use

  • "update fees from arbitrum USDC to all USDT destinations to 5bps"
  • "set moonpay fee for katana → base DEFAULT slot to 3bps"
  • "change all fees to 4bps"
  • Any request to modify standing quote bps for the CROSS/moonpay warp route
  • "show current moonpay fees" / "what are the current standing quotes?" → run print-quotes.ts (see below)

Route Reference

CROSS/moonpay — EVM origin chains and source token labels:

ChainSource tokens
arbitrumUSDC, USDT
baseUSDC, USDT
bscUSDC, USDT
citreactUSD
ethereumUSDC, USDT
katanaUSDC, USDT
polygonUSDC, USDT

Destinations include all the above chains plus solanamainnet.

Targets — destination router slot labels:

  • DEFAULT — fallback slot covering any router with no specific override
  • USDC — per-router slot for the USDC router on the destination
  • USDT — per-router slot for the USDT router on the destination
  • ctUSD — per-router slot for the citrea router
  • XO — per-router slot for the solanamainnet router

Parsing Natural Language → CLI Flags

Concept in requestFlagValue
origin chain(s)--originscomma-separated names or all
source token(s) on origin--source-tokensUSDC, USDT, ctUSD, or all
destination chain(s)--destinationscomma-separated names or all
destination router target(s)--targetsDEFAULT, USDC, USDT, or all
fee amount--bpsnumber (e.g. 3, 5, 0.5)
quote lifetime--ttlduration with unit suffix (24h, 2d, 86400s)

Heuristics:

  • "from X" → --origins X
  • "USDC/USDT" before "→" or "to" → --source-tokens
  • "to X" / "→ X" as destination chain → --destinations X
  • "USDT destinations" / "USDC targets" → --targets USDT/USDC
  • target not mentioned → --targets DEFAULT
  • "all ..." → all
  • TTL not mentioned → --ttl 24h

Examples:

"update all fees from arbitrum usdc to all usdt destinations to 5bps"
→ --origins arbitrum --source-tokens USDC --destinations all --targets USDT --bps 5 --ttl 24h

"set katana to arbitrum default fee to 3bps"
→ --origins katana --source-tokens all --destinations arbitrum --targets DEFAULT --bps 3 --ttl 24h

"update all moonpay fees to 3bps"
→ --origins all --source-tokens all --destinations all --targets all --bps 3 --ttl 24h

"set ethereum USDT → base and polygon DEFAULT to 4.5bps with 7d TTL"
→ --origins ethereum --source-tokens USDT --destinations base,polygon --targets DEFAULT --bps 4.5 --ttl 7d

Ambiguity

Ask ONE clarifying question before proceeding if any dimension is unclear:

  • Target not specified → ask whether they mean DEFAULT only or all per-router slots too
  • "all fees" with no further detail → confirm ALL origins × ALL tokens × ALL destinations × ALL targets
  • Destination sounds like a token name (e.g. "to USDT") → clarify if it's a target or a destination chain

Execution Flow

Step 1 — Derive flags from the request.

Step 2 — Preview with --dry-run to confirm the exact lanes and current→new bps against live on-chain state (no signer/submitter keys are needed for this):

cd <monorepo-root> && pnpm tsx typescript/infra/scripts/moonpay/set-quotes.ts \
  -r http://localhost:3333 \
  --origins <origins> \
  --source-tokens <source-tokens> \
  --destinations <destinations> \
  --targets <targets> \
  --bps <bps> \
  --ttl <duration, e.g. 24h> \
  --dry-run

Find the monorepo root with git rev-parse --show-toplevel if needed. The HTTP registry (-r http://localhost:3333) provides private RPC URL overrides — start it first with /start-http-registry if it isn't running.

Step 3 — Run it for real, immediately and without asking for approval: re-run the same command with --dry-run swapped for --yes (GCP defaults are used automatically for signer/submitter keys):

cd <monorepo-root> && pnpm tsx typescript/infra/scripts/moonpay/set-quotes.ts \
  -r http://localhost:3333 \
  --origins <origins> \
  --source-tokens <source-tokens> \
  --destinations <destinations> \
  --targets <targets> \
  --bps <bps> \
  --ttl <duration, e.g. 24h> \
  --yes

Step 4 — Summarize the result in plain language, grouped by lane, before showing raw output. For each lane report old→new bps, or (unchanged, was already correct) when the current value already matched the target — plus the TTL used:

Done. Katana↔katana quotes now:

- USDC→USDC: 3bps (unchanged, was already correct)
- USDT→USDT: 3bps (unchanged, was already correct)
- USDC→USDT: 3→30bps, 7-day TTL
- USDT→USDC: 18→30bps, 7-day TTL

Then show the script's raw output below the summary so the user can verify the actual submissions. Surface any errors clearly without retrying silently.

Reading Current Standing Quotes

When the user asks to see current fees or standing quotes (e.g. "show me the current moonpay fees", "what bps are we charging?"), run print-quotes.ts instead:

cd <monorepo-root> && pnpm tsx typescript/infra/scripts/moonpay/print-quotes.ts \
  -r http://localhost:3333

Show the output directly. No confirmation needed — this is read-only.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Write a changeset file in the `hyperlane-registry` repo for a PR that adds, updates, or modifies warp route config / chain metadata / addresses. Canonical pattern — never run the interactive `pnpm changeset` CLI; write the file directly. Referenced by any skill that opens a registry PR.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

hyperlane-xyz/hyperlane-monorepo762026년 10월 23일 업데이트

Trigger Docker image builds for Hyperlane agent, monorepo, or node service images. Use when the user wants to build new Docker images for a branch, commit, or tag.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

hyperlane-xyz/hyperlane-monorepo762026년 10월 23일 업데이트

The low-level on-chain probes for identifying what an owner address is — cast code → EOA / EIP-7702-delegated EOA / contract, VERSION() → Gnosis Safe, read-only get-owner-ica.ts derive → ICA derivation, getAccountInfo → Sealevel account existence — with how to interpret each result. The primitive layer beneath validate-owners / resolve-artifacts / update-owners, which each apply their own per-chain or per-artifact policy on top.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

hyperlane-xyz/hyperlane-monorepo762026년 10월 23일 업데이트

Review code changes using Hyperlane monorepo coding standards. Use when reviewing PRs, checking your own changes, or doing self-review before committing.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

hyperlane-xyz/hyperlane-monorepo762026년 10월 23일 업데이트

Debug why a Hyperlane message is not being processed. Use when given a message ID or explorer URL to investigate delivery failures, gas estimation errors, validator issues, or other processing problems.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

hyperlane-xyz/hyperlane-monorepo762026년 10월 23일 업데이트

Debug RPC provider health issues for a chain. Use when alerts mention RPC failures, high latency, stale blocks, or provider errors. Diagnoses the issue and recommends fixes.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

hyperlane-xyz/hyperlane-monorepo762026년 10월 23일 업데이트

hyperlane-xyz의 스킬 모두 보기

이 스킬의 문제 신고