Skip to content

Commit

Permalink
Merge pull request #44 from ToucanProtocol/npm-module
Browse files Browse the repository at this point in the history
[LILA-5942] Publish fee calculator as npm module
  • Loading branch information
0xmichalis authored Feb 19, 2024
2 parents 3a93bcc + 07ad5e2 commit ea62999
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,10 @@ docs/

# Dotenv file
.env

# NPM publish token
.npmrc

# Node modules since for now forge is using git submodules
# to clone dependencies
node_modules/
36 changes: 36 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"name": "@toucanprotocol/dynamic-fee-pools",
"version": "1.0.0",
"description": "A contract to calculate fees for deposits and redemptions in a pool based on the project composition in the pool",
"private": true,
"dependencies": {
"@openzeppelin/contracts": "4.6.0",
"@prb/math": "4.0.1"
},
"files": [
"/src/**/*.sol"
],
"scripts": {
"build": "forge install && forge build --via-ir",
"test": "forge test --via-ir"
},
"repository": {
"type": "git",
"url": "https://github.com/toucanprotocol/dynamic-fee-pools.git"
},
"author": "Toucan Protocol <dev@toucan.earth>",
"license": "GPL-3.0",
"bugs": {
"url": "https://github.com/toucanprotocol/dynamic-fee-pools/issues"
},
"homepage": "https://github.com/toucanprotocol/dynamic-fee-pools#readme",
"keywords": [
"solidity",
"smart",
"contracts",
"toucan",
"protocol",
"fees",
"calculator"
]
}
13 changes: 13 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1


"@openzeppelin/contracts@4.6.0":
version "4.6.0"
resolved "https://registry.yarnpkg.com/@openzeppelin/contracts/-/contracts-4.6.0.tgz#c91cf64bc27f573836dba4122758b4743418c1b3"
integrity sha512-8vi4d50NNya/bQqCmaVzvHNmwHvS0OBKb7HNtuNwEE3scXWrP31fKQoGxNMT+KbzmrNZzatE3QK5p2gFONI/hg==

"@prb/math@4.0.1":
version "4.0.1"
resolved "https://registry.yarnpkg.com/@prb/math/-/math-4.0.1.tgz#bc90277f4f1c085c973f502455bf12c2b3b67666"
integrity sha512-ANTz2KMV+dMdZ57mWgDTR6jZo5uQzUczQEHCxd7CvJZZ9yafnfPhUUILHvvigIOZ85fZbTPVkC8YoRG1z5Qf7g==

0 comments on commit ea62999

Please sign in to comment.