Contracts Library
Contracts Library in GearUp Studio
Import and interact with routers and smart contracts from across Ethereum and Layer 2s – all without writing code.
The Contracts Library in GearUp Studio allows users to integrate third-party smart contracts and DeFi routers directly into their no-code workflows. Whether you're automating swaps, triggering liquidity events, or building token logic that interacts with external protocols, the Contracts Library bridges your blocks to the broader blockchain ecosystem.
🔌 What You Can Do
- Import any contract address from any EVM chain or Layer 2 
- Automatically detect router interfaces (e.g., - swapExactETHForTokens,- addLiquidity, etc.)
- Preview the contract logic using Scrappy AI, which summarizes what the contract does and any common risks 
- Use Studio blocks to call external functions safely, such as: - Swaps via Uniswap V2/V3 
- Liquidity pools on Aerodrome 
- Function triggers in lending/staking platforms 
 
🧬 Supported Protocol Types
The Contracts Library supports any verified EVM smart contract. Common examples include:
Uniswap V2
Execute token swaps, add/remove liquidity
Aerodrome
Liquidity routing on Base chain
Balancer
Weighted pools + LP automation
Aave
Trigger lending, repay, and flash loans
Custom
Any contract with a verified ABI
You can also bring your own contracts or routers with a matching ABI and integrate them into your workflows.
🧠 Scrappy AI Integration
When you import a contract into Studio, Scrappy AI will:
- Explain what the contract does in natural language 
- Detect any unusual or unsafe patterns 
- Suggest prebuilt block flows for safe interaction 
- Provide simulated outputs for basic function calls 
Example:
Imported: UniswapV2Router02
Scrappy Summary: "This contract enables token-to-token swaps using path-based routing. You can call swapExactTokensForTokens with slippage controls."🧱 How to Use a Contract from the Library
- Open the Contracts tab inside GearUp Studio 
- Search or paste a contract address 
- Select a chain (e.g., Ethereum, Polygon, Base) 
- Review Scrappy’s explanation + function list 
- Drag the external function block into your canvas 
- Fill in required fields (e.g., token pair, deadline, amounts) 
- Simulate or deploy 
Each external block integrates natively with your existing logic and respects testnet/mainnet switch.
🛡️ Safety Layer
- GearUp only allows read + call interactions unless explicitly unlocked 
- All imported routers must pass ABI verification 
- Scrappy flags risk (e.g., non-revertable functions, arbitrary token approvals) 
- You can preview gas costs and simulated return data 
🔁 Composability at Scale
The Contracts Library makes GearUp a truly modular smart contract builder:
- Mix your internal logic with trusted external protocols 
- Customize transaction flow (e.g. “After Tax → Swap ETH for GEAR → Send to DAO wallet”) 
- Chain reactions and dApp-level interoperability 
🔄 Example Use Case: Swap + Treasury Deposit
- Use Studio blocks to collect ETH tax from all transfers 
- Use a block to swap that ETH into USDC using Uniswap V2 router 
- Send USDC to a multi-sig DAO wallet via call 
No code. No audits. All visual.
With the Contracts Library, GearUp users don’t just build contracts — they connect with the entire DeFi world. Modular, secure, and limitless.
Last updated

