Skip to content

Commit

Permalink
Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
grebois committed May 20, 2024
1 parent 76c97b4 commit b712182
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 5 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Deploy Documentation

on:
push:
branches:
- development
- feat/doc
# paths:
# - 'pkg/seawater/**'

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
with:
submodules: recursive

- uses: foundry-rs/foundry-toolchain@v1

- run: |
cd pkg
forge doc
pwd
ls -la docs-out
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: /docs
Empty file.
11 changes: 6 additions & 5 deletions pkg/interfaces/ISeawaterEvents.sol
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ interface ISeawaterEvents {

/// @notice emitted when a position is burned
/// @param id the id of the position being burned
//// @param owner the user the owned the position
/// @param owner the user the owned the position
event BurnPosition(
uint256 indexed id,
address indexed owner
Expand All @@ -29,7 +29,7 @@ interface ISeawaterEvents {
/// @notice emitted when a position changes owners
/// @param from the original owner of the position
/// @param to the new owner of the position
/// @param id the id of the position being transfered
/// @param id the id of the position being transferred
event TransferPosition(
address indexed from,
address indexed to,
Expand All @@ -45,9 +45,9 @@ interface ISeawaterEvents {
);

/// @notice emitted when a liquidity provider collects the fees associated with a position
/// @param id the id of the position who's liquidity is being collected
/// @param id the id of the position whose liquidity is being collected
/// @param pool the address of the pool the position is associated with
/// @param to the receipient of the fees
/// @param to the recipient of the fees
/// @param amount0 the amount of token0 being collected
/// @param amount1 the amount of token1 being collected
event CollectFees(
Expand All @@ -63,7 +63,8 @@ interface ISeawaterEvents {
/// @notice emitted when a new pool is created
/// @param token the token0 the pool is associated with (where token1 is a fluid token)
/// @param fee the fee being used for this pool
/// @param price the starting price for this pool
/// @param decimals the decimals for the token
/// @param tickSpacing the tick spacing for the pool
event NewPool(
address indexed token,
uint32 indexed fee,
Expand Down

0 comments on commit b712182

Please sign in to comment.