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:
π§± 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