Skip to content

Commit

Permalink
chore: version in description
Browse files Browse the repository at this point in the history
  • Loading branch information
Macket committed Jul 10, 2024
1 parent 4662f45 commit 20ca33b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions contracts/DepositAndStakeZapNgPoolsOnly.vy
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

"""
@title CurveDeposit&StakeZap
@custom:version 1.0.0
@author Curve.Fi
@license Copyright (c) Curve.Fi, 2020-2024 - all rights reserved
@notice A zap to add liquidity to pool and deposit into gauge in one transaction
Expand All @@ -11,8 +12,6 @@
version: public(constant(String[8])) = "1.0.0"


MAX_COINS: constant(uint256) = 9

# External Contracts
from vyper.interfaces import ERC20

Expand All @@ -31,6 +30,10 @@ interface MetaZap:
interface Gauge:
def deposit(lp_token_amount: uint256, addr: address): nonpayable


MAX_COINS: constant(uint256) = 9


@external
@nonreentrant('lock')
def deposit_and_stake(
Expand Down

0 comments on commit 20ca33b

Please sign in to comment.