LogoLogo
  • Whitepaper
    • Introduction
  • Challenges & Solution
  • Tokenomics
  • Roadmap
  • Product docs
    • Ai Assistant - Scrappy
      • Tech Framework
      • API
  • Gear-Up Studio (Individuals)
    • Tech Framework
    • Getting Started
      • Templates
      • Contracts Library
    • Testing Playground
    • Deploy & Use
    • Contract Use Cases
  • Gear-Up Factory (Developers)
    • Tech Framework
    • Closed Source Testing
    • Marketplace
    • Earn-Per-Deploy Model
    • Earn-Per-License Model
    • Terms & Conditions
  • Gear Flow (Plugin & App)
    • Tech Framework
    • More To Be Announced
  • GUIDE
    • Security
    • Socials
    • Extended Vision
    • FAQs
Powered by GitBook
On this page
  • Contracts Library in GearUp Studio
  • πŸ”Œ What You Can Do
  • 🧬 Supported Protocol Types
  • 🧠 Scrappy AI Integration
  • 🧱 How to Use a Contract from the Library
  • πŸ›‘οΈ Safety Layer
  • πŸ” Composability at Scale
  • πŸ”„ Example Use Case: Swap + Treasury Deposit
Export as PDF
  1. Gear-Up Studio (Individuals)
  2. Getting Started

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:

Protocol
Use Case

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

  1. Open the Contracts tab inside GearUp Studio

  2. Search or paste a contract address

  3. Select a chain (e.g., Ethereum, Polygon, Base)

  4. Review Scrappy’s explanation + function list

  5. Drag the external function block into your canvas

  6. Fill in required fields (e.g., token pair, deadline, amounts)

  7. 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

  1. Use Studio blocks to collect ETH tax from all transfers

  2. Use a block to swap that ETH into USDC using Uniswap V2 router

  3. 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.

PreviousTemplatesNextTesting Playground

Last updated 1 month ago

← Back to Getting Started