Skip to content

Commit

Permalink
doc: add MIT license and license/author in natspec
Browse files Browse the repository at this point in the history
  • Loading branch information
iamdefinitelyahuman committed Aug 8, 2020
1 parent 02a411b commit ec351ae
Show file tree
Hide file tree
Showing 11 changed files with 42 additions and 0 deletions.
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2020 Curve Finance

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
3 changes: 3 additions & 0 deletions contracts/ERC20CRV.vy
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# @version 0.2.4
"""
@title Curve DAO Token
@author Curve Finance
@license MIT
@notice ERC20 with piecewise-linear mining supply.
@dev Based on the ERC-20 token standard as defined at
https://eips.ethereum.org/EIPS/eip-20
Expand Down
2 changes: 2 additions & 0 deletions contracts/GaugeController.vy
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

"""
@title Gauge Controller
@author Curve Finance
@license MIT
@notice Controls liquidity gauges and the issuance of coins through the gauges
"""

Expand Down
2 changes: 2 additions & 0 deletions contracts/LiquidityGauge.vy
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# @version 0.2.4
"""
@title Liquidity Gauge
@author Curve Finance
@license MIT
@notice Used for measuring liquidity and insurance
"""

Expand Down
2 changes: 2 additions & 0 deletions contracts/LiquidityGaugeReward.vy
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# @version 0.2.4
"""
@title Staking Liquidity Gauge
@author Curve Finance
@license MIT
@notice Simultaneously stakes using Synthetix (== YFI) rewards contract
"""

Expand Down
2 changes: 2 additions & 0 deletions contracts/Minter.vy
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# @version 0.2.4
"""
@title Token Minter
@author Curve Finance
@license MIT
"""

interface LiquidityGauge:
Expand Down
2 changes: 2 additions & 0 deletions contracts/PoolProxy.vy
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# @version 0.2.4
"""
@title Curve StableSwap Proxy
@author Curve Finance
@license MIT
"""

from vyper.interfaces import ERC20
Expand Down
2 changes: 2 additions & 0 deletions contracts/VestingEscrow.vy
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# @version 0.2.4
"""
@title Vesting Escrow
@author Curve Finance
@license MIT
@notice Vests `ERC20CRV` tokens for multiple addresses over multiple vesting periods
"""

Expand Down
2 changes: 2 additions & 0 deletions contracts/VestingEscrowFactory.vy
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# @version 0.2.4
"""
@title Vesting Escrow Factory
@author Curve Finance
@license MIT
@notice Stores and distributes `ERC20CRV` tokens by deploying `VestingEscrowSimple` contracts
"""

Expand Down
2 changes: 2 additions & 0 deletions contracts/VestingEscrowSimple.vy
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# @version 0.2.4
"""
@title Simple Vesting Escrow
@author Curve Finance
@license MIT
@notice Vests `ERC20CRV` tokens for a single address
@dev Intended to be deployed many times via `VotingEscrowFactory`
"""
Expand Down
2 changes: 2 additions & 0 deletions contracts/VotingEscrow.vy
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# @version 0.2.4
"""
@title Voting Escrow
@author Curve Finance
@license MIT
@notice Votes have a weight depending on time, so that users are
committed to the future of (whatever they are voting for)
@dev Vote weight decays linearly over time. Lock time cannot be
Expand Down

0 comments on commit ec351ae

Please sign in to comment.