[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6GQCXFN0AG7HB4D1XEP7W4Q":3,"skill-same:01M6GQCXFN0AG7HB4D1XEP7W4Q":99},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":42,"linkOnly":43,"markdownContent":44,"markdownBody":45,"frontMatter":46,"refName":50,"commitSha":51,"skillDirectory":52,"forksCount":53,"repositoryHtmlUrl":54,"repositoryHomepageUrl":6,"ownerHtmlUrl":55,"ownerBlogUrl":56,"ownerDescription":57,"updatedAt":58,"install":59,"resources":72},"01M6GQCXFN0AG7HB4D1XEP7W4Q","trongrid-contract-analysis",null,"Analyze TRON smart contracts including deployment info, ABI methods, transaction patterns, top callers, energy costs, and safety assessment. Use when a user asks about a smart contract, wants to verify contract safety, check what a contract does, identify top callers, or detect potential scams. Covers TRC-20\u002FTRC-721 identification, open-source verification, and risk scoring.","jiayaoqijia\u002Fcryptoskill","jiayaoqijia","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1453879?v=4","01M6GMYTX7Q7S504VC6E756ENR","YQ","01M6GMYV1QKJ1CC75MTTGT9PR0",81,"AGPL-3.0","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fchains\u002Ftron-contract-analysis\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41],"analysis","trongrid contract analysis","contract","scoring","when","energy","smart contract","top","detect","identification","open-source","transaction","info","assessment","methods","use","check","analyze","open","verify","risk","verification","deployment","2026-11-10 10:12:30",false,"---\nname: trongrid-contract-analysis\ndescription: \"Analyze TRON smart contracts including deployment info, ABI methods, transaction patterns, top callers, energy costs, and safety assessment. Use when a user asks about a smart contract, wants to verify contract safety, check what a contract does, identify top callers, or detect potential scams. Covers TRC-20\u002FTRC-721 identification, open-source verification, and risk scoring.\"\nmetadata:\n  version: \"1.0.0\"\n  mcp-server: trongrid\n---\n\n# Contract Analysis\n\nPerform deep analysis of TRON smart contracts — deployment details, method signatures, call patterns, top callers, energy economics, and safety risk assessment.\n\n# MCP Server\n- **Prerequisite**: [TronGrid MCP Guide](https:\u002F\u002Fdevelopers.tron.network\u002Freference\u002Fmcp-api)\n\n## Instructions\n\n### Step 1: Fetch Contract Basics\n\nRun in parallel:\n\n1. `getContractInfo` — Contract name, deployer (origin_address), `consume_user_resource_percent`, `origin_energy_limit`, creation time, energy usage stats\n2. `getContract` — Full ABI definition, bytecode, whether ABI is available (indicates open-source status)\n\n### Step 2: Parse Contract Methods\n\nFrom the ABI, categorize all methods:\n\n- **Read-only** (view\u002Fpure): Safe calls, no state changes\n- **State-changing**: transfers, approvals, settings\n- **Admin\u002FOwner**: privileged ops (mint, pause, blacklist, upgrade)\n- **Events**: what the contract logs\n\nIdentify standard interfaces: TRC-20, TRC-721, TRC-1155, proxy\u002Fupgradeable patterns.\n\n### Step 3: Analyze Transaction Activity\n\n1. `getContractTransactions` — Total count, recent patterns, success\u002Ffailure rate\n2. `getEventsByContractAddress` — Most frequent events, parameter patterns\n3. `getContractInternalTransactions` — Inter-contract calls, TRX transfers within execution\n\n### Step 4: Identify Top Callers\n\nFrom transaction data, aggregate:\n- Top 5 by transaction count\n- Top 5 by value (TRX or token amount)\n- Classify callers: exchange, bot, regular user, other contract\n\n### Step 5: Estimate Energy Costs\n\nCall `estimateEnergy` with common method calls to assess:\n- Typical energy cost per transaction type\n- Whether the contract is energy-efficient\n- Cost split between user and contract owner (based on `consume_user_resource_percent`)\n\n### Step 6: Safety Assessment\n\n**High Risk indicators:**\n- No ABI (unverified\u002Fclosed source)\n- Unlimited mint capability\n- Pause\u002Ffreeze can lock user funds\n- Blacklist function, self-destruct, hidden transfer fees\n- Proxy pattern (upgradeable logic)\n- `consume_user_resource_percent = 100` (users pay all energy)\n\n**Medium Risk indicators:**\n- Very few unique callers vs. high tx count\n- Recently created with sudden high activity\n- Admin functions without timelock\u002Fmultisig\n\n**Positive indicators:**\n- Open-source verified, standard implementation\n- Timelock on admin functions, multisig requirements\n- Long history with consistent activity, diverse callers\n\n### Step 7: Compile Contract Report\n\n```\n## Contract Analysis: [address]\n\n### Deployment\n- Name: [name] | Deployer: [address]\n- Deployed: [date] | Open Source: [Yes\u002FNo]\n- Standard: [TRC-20\u002FTRC-721\u002FCustom]\n\n### Methods\n- Total: [count] (Read: [X], Write: [Y], Admin: [Z])\n\n### Top Methods (by call frequency)\n| Method | Calls | Avg Energy |\n|--------|-------|------------|\n| transfer() | XX,XXX | X,XXX |\n\n### Top Callers\n| Address | Tx Count | Label |\n|---------|----------|-------|\n| TXxx... | X,XXX | [Exchange\u002FBot\u002FUnknown] |\n\n### Activity\n- Total Txs: [count] | Daily Avg: [count]\n- Success Rate: [X.X%] | Unique Callers: [count]\n\n### Energy Economics\n- User Pays: [X%] | Avg Energy\u002FTx: [amount]\n\n### Safety Score: [Safe \u002F Caution \u002F High Risk]\n- Risk Factors: [list]\n- Positive Factors: [list]\n- Recommendation: [actionable advice]\n```\n\n## Error Handling\n\n| Error | Cause | Resolution |\n|-------|-------|------------|\n| No ABI found | Contract not verified or ABI cleared | Note as unverified; analyze bytecode patterns and transaction data instead |\n| Address is not a contract | Regular account address provided | Inform user this is a regular account, suggest using trongrid-account-profiling skill |\n| No transactions | Newly deployed or unused contract | Report as inactive; check deployer's other contracts for context |\n| Contract self-destructed | Contract no longer exists on-chain | Inform user; historical tx data may still be available |\n\n## Examples\n\n- [Analyze USDT contract](examples\u002Fanalyze-usdt-contract.md)\n- [Check contract safety](examples\u002Fcheck-contract-safety.md)\n","# Contract Analysis\n\nPerform deep analysis of TRON smart contracts — deployment details, method signatures, call patterns, top callers, energy economics, and safety risk assessment.\n\n# MCP Server\n- **Prerequisite**: [TronGrid MCP Guide](https:\u002F\u002Fdevelopers.tron.network\u002Freference\u002Fmcp-api)\n\n## Instructions\n\n### Step 1: Fetch Contract Basics\n\nRun in parallel:\n\n1. `getContractInfo` — Contract name, deployer (origin_address), `consume_user_resource_percent`, `origin_energy_limit`, creation time, energy usage stats\n2. `getContract` — Full ABI definition, bytecode, whether ABI is available (indicates open-source status)\n\n### Step 2: Parse Contract Methods\n\nFrom the ABI, categorize all methods:\n\n- **Read-only** (view\u002Fpure): Safe calls, no state changes\n- **State-changing**: transfers, approvals, settings\n- **Admin\u002FOwner**: privileged ops (mint, pause, blacklist, upgrade)\n- **Events**: what the contract logs\n\nIdentify standard interfaces: TRC-20, TRC-721, TRC-1155, proxy\u002Fupgradeable patterns.\n\n### Step 3: Analyze Transaction Activity\n\n1. `getContractTransactions` — Total count, recent patterns, success\u002Ffailure rate\n2. `getEventsByContractAddress` — Most frequent events, parameter patterns\n3. `getContractInternalTransactions` — Inter-contract calls, TRX transfers within execution\n\n### Step 4: Identify Top Callers\n\nFrom transaction data, aggregate:\n- Top 5 by transaction count\n- Top 5 by value (TRX or token amount)\n- Classify callers: exchange, bot, regular user, other contract\n\n### Step 5: Estimate Energy Costs\n\nCall `estimateEnergy` with common method calls to assess:\n- Typical energy cost per transaction type\n- Whether the contract is energy-efficient\n- Cost split between user and contract owner (based on `consume_user_resource_percent`)\n\n### Step 6: Safety Assessment\n\n**High Risk indicators:**\n- No ABI (unverified\u002Fclosed source)\n- Unlimited mint capability\n- Pause\u002Ffreeze can lock user funds\n- Blacklist function, self-destruct, hidden transfer fees\n- Proxy pattern (upgradeable logic)\n- `consume_user_resource_percent = 100` (users pay all energy)\n\n**Medium Risk indicators:**\n- Very few unique callers vs. high tx count\n- Recently created with sudden high activity\n- Admin functions without timelock\u002Fmultisig\n\n**Positive indicators:**\n- Open-source verified, standard implementation\n- Timelock on admin functions, multisig requirements\n- Long history with consistent activity, diverse callers\n\n### Step 7: Compile Contract Report\n\n```\n## Contract Analysis: [address]\n\n### Deployment\n- Name: [name] | Deployer: [address]\n- Deployed: [date] | Open Source: [Yes\u002FNo]\n- Standard: [TRC-20\u002FTRC-721\u002FCustom]\n\n### Methods\n- Total: [count] (Read: [X], Write: [Y], Admin: [Z])\n\n### Top Methods (by call frequency)\n| Method | Calls | Avg Energy |\n|--------|-------|------------|\n| transfer() | XX,XXX | X,XXX |\n\n### Top Callers\n| Address | Tx Count | Label |\n|---------|----------|-------|\n| TXxx... | X,XXX | [Exchange\u002FBot\u002FUnknown] |\n\n### Activity\n- Total Txs: [count] | Daily Avg: [count]\n- Success Rate: [X.X%] | Unique Callers: [count]\n\n### Energy Economics\n- User Pays: [X%] | Avg Energy\u002FTx: [amount]\n\n### Safety Score: [Safe \u002F Caution \u002F High Risk]\n- Risk Factors: [list]\n- Positive Factors: [list]\n- Recommendation: [actionable advice]\n```\n\n## Error Handling\n\n| Error | Cause | Resolution |\n|-------|-------|------------|\n| No ABI found | Contract not verified or ABI cleared | Note as unverified; analyze bytecode patterns and transaction data instead |\n| Address is not a contract | Regular account address provided | Inform user this is a regular account, suggest using trongrid-account-profiling skill |\n| No transactions | Newly deployed or unused contract | Report as inactive; check deployer's other contracts for context |\n| Contract self-destructed | Contract no longer exists on-chain | Inform user; historical tx data may still be available |\n\n## Examples\n\n- [Analyze USDT contract](examples\u002Fanalyze-usdt-contract.md)\n- [Check contract safety](examples\u002Fcheck-contract-safety.md)\n",{"name":5,"metadata":47,"description":7},{"version":48,"mcp-server":49},"1.0.0","trongrid","main","3df1d0d67b30ff15236561f8c0f9f06d33f42dfd","skills\u002Fchains\u002Ftron-contract-analysis",17,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia","https:\u002F\u002Feth2030.com","Hardcore infra. Building @alt-research and applied cryptography.","2026-11-15 02:28:10",{"source":8,"skillName":5,"commands":60,"prompt":70,"zipAvailable":71},[61,64,67],{"tool":62,"command":63},"npx","npx skills add jiayaoqijia\u002Fcryptoskill --skill trongrid-contract-analysis",{"tool":65,"command":66},"bunx","bunx skills add jiayaoqijia\u002Fcryptoskill --skill trongrid-contract-analysis",{"tool":68,"command":69},"pnpm","pnpm dlx skills add jiayaoqijia\u002Fcryptoskill --skill trongrid-contract-analysis","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fchains\u002Ftron-contract-analysis\u002FSKILL.md",true,[73,79,83,87,91,95],{"path":74,"resourceType":75,"resourceTypeDesc":76,"sizeBytes":77,"sourceHtmlUrl":78},"_meta.json","REFERENCE","参考文档",145,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fchains\u002Ftron-contract-analysis\u002F_meta.json",{"path":80,"resourceType":75,"resourceTypeDesc":76,"sizeBytes":81,"sourceHtmlUrl":82},"examples\u002Fanalyze-usdt-contract.md",3007,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fchains\u002Ftron-contract-analysis\u002Fexamples\u002Fanalyze-usdt-contract.md",{"path":84,"resourceType":75,"resourceTypeDesc":76,"sizeBytes":85,"sourceHtmlUrl":86},"examples\u002Fcheck-contract-safety.md",2241,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fchains\u002Ftron-contract-analysis\u002Fexamples\u002Fcheck-contract-safety.md",{"path":88,"resourceType":75,"resourceTypeDesc":76,"sizeBytes":89,"sourceHtmlUrl":90},"skill-card.md",2208,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fchains\u002Ftron-contract-analysis\u002Fskill-card.md",{"path":92,"resourceType":75,"resourceTypeDesc":76,"sizeBytes":93,"sourceHtmlUrl":94},"SOURCE.md",274,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fchains\u002Ftron-contract-analysis\u002FSOURCE.md",{"path":96,"resourceType":75,"resourceTypeDesc":76,"sizeBytes":97,"sourceHtmlUrl":98},"TRUST.auto.yaml",2201,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fchains\u002Ftron-contract-analysis\u002FTRUST.auto.yaml",[100,110,118,126,134,142],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":104,"licenseFileUrl":105,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":109},"01M7DTKCERMV0RNX3HZJP4CZ26","troves","Deposit and withdraw from Troves DeFi yield vault strategies on Starknet. View available strategies, check positions, and manage vault deposits. Use this skill when the user mentions Troves, vault, yield vault, DeFi vault, strategy, yield farming, vault deposit, vault withdraw, earning yield through vaults, passive yield strategies, or wants to deposit into or withdraw from a yield strategy — even if they don't say \"Troves\" explicitly.","MIT","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-troves\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-troves\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":104,"licenseFileUrl":114,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":109},"01M7DTK6CJSMGC8KCQHGNYFZBD","trade","Swap tokens on Starknet via Fibrous DEX aggregator. Supports per-provider selection (avnu, ekubo, or auto to race all). Use this skill when the user wants to swap, exchange, trade, convert, buy, or sell one token for another on Starknet. Also use when the user asks about token prices, exchange rates, DEX routing, best swap route, or wants to check how much they would receive for a given amount — even if they don't explicitly say \"swap\".","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-trade\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-trade\u002FSKILL.md",[],[],{"skillNo":119,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":104,"licenseFileUrl":122,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":109},"01M7DTJZ6A0X4PAW3Y8W4J9K64","staking","Stake, unstake, claim, and compound rewards for STRK, WBTC, tBTC, SolvBTC, and LBTC on Starknet. View validators, pools, and staking positions. Use this skill when the user mentions staking, delegating, validators, staking pools, rewards, compounding, unstaking, earning yield, passive income on crypto, or wants to earn on their STRK or BTC tokens — even if they don't say \"stake\" explicitly.","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-staking\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-staking\u002FSKILL.md",[],[],{"skillNo":127,"name":128,"nameZh":6,"description":129,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":104,"licenseFileUrl":130,"sourceHtmlUrl":131,"categories":132,"keywords":133,"publishedAt":109},"01M7DTJSDZJKCDMW7GHRF4BRH5","send","Send STRK, ETH, or any ERC-20 token to a Starknet address. Supports simulation (dry-run) before execution. Use this skill when the user wants to send, transfer, pay, tip, or move tokens to another wallet address on Starknet. Also trigger when the user mentions sending funds to someone, making a payment, transferring assets, or moving crypto to a specific address — even if they just say \"pay 10 STRK to 0x...\".","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-send\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-send\u002FSKILL.md",[],[],{"skillNo":135,"name":136,"nameZh":6,"description":137,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":104,"licenseFileUrl":138,"sourceHtmlUrl":139,"categories":140,"keywords":141,"publishedAt":109},"01M7DTJG1E480D51ZQ7WKDQ26K","portfolio","View a comprehensive DeFi portfolio dashboard and optimize portfolio allocation via automated rebalancing. Use this skill when the user wants an overview, summary, dashboard, total value, net worth, portfolio rebalancing, target allocation, or wants to see all their DeFi positions across Starknet at once. Also trigger when the user asks \"what do I have\", \"show me everything\", \"how much am I worth\", \"my positions\", \"my investments\", \"rebalance my portfolio\", \"I want 50% ETH\", \"optimize my holdings\", or any request for a holistic view of their Starknet holdings — even if they don't explicitly say \"portfolio\".","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-portfolio\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-portfolio\u002FSKILL.md",[],[],{"skillNo":143,"name":144,"nameZh":6,"description":145,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":104,"licenseFileUrl":146,"sourceHtmlUrl":147,"categories":148,"keywords":149,"publishedAt":109},"01M7DTJ7M8TE9R2N36HFBZDGVD","multi-swap","Execute multiple token swaps in a single Starknet transaction via Fibrous (default). Supports per-provider selection (avnu, ekubo, or auto to race all). Supports 2-3 swap pairs bundled into one multicall. Use this skill when the user wants to swap multiple token pairs at once, do batch swaps, execute several trades simultaneously, perform parallel swaps, or do bulk trading in one transaction. Also trigger when the user mentions \"two swaps\", \"three swaps\", \"swap X and Y at the same time\", or wants to convert multiple tokens in a single call.","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-multi-swap\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-multi-swap\u002FSKILL.md",[],[]]