Skip to content

The foundry template used for initiating a Drosera project.

License

Notifications You must be signed in to change notification settings

drosera-network/trap-foundry-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Drosera Trap Foundry Template

For quickly bootstrapping a new Drosera project.

view - Documentation

Overview

This template shows an example of monitoring a Uniswap V3 liquidity pool. The UniswapV3PoolTrap smart contract checks to see if the balance of the pool has changed by more than 20% from the previous block.

Features

  • example trap contract
  • example trap test

Getting Started

mkdir my-drosera-trap
cd my-drosera-trap
forge init trap-foundry-template

Testing

forge test

About

The foundry template used for initiating a Drosera project.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published