-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #44 from ToucanProtocol/npm-module
[LILA-5942] Publish fee calculator as npm module
- Loading branch information
Showing
3 changed files
with
56 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 <[email protected]>", | ||
"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" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/[email protected]": | ||
version "4.6.0" | ||
resolved "https://registry.yarnpkg.com/@openzeppelin/contracts/-/contracts-4.6.0.tgz#c91cf64bc27f573836dba4122758b4743418c1b3" | ||
integrity sha512-8vi4d50NNya/bQqCmaVzvHNmwHvS0OBKb7HNtuNwEE3scXWrP31fKQoGxNMT+KbzmrNZzatE3QK5p2gFONI/hg== | ||
|
||
"@prb/[email protected]": | ||
version "4.0.1" | ||
resolved "https://registry.yarnpkg.com/@prb/math/-/math-4.0.1.tgz#bc90277f4f1c085c973f502455bf12c2b3b67666" | ||
integrity sha512-ANTz2KMV+dMdZ57mWgDTR6jZo5uQzUczQEHCxd7CvJZZ9yafnfPhUUILHvvigIOZ85fZbTPVkC8YoRG1z5Qf7g== |