Skip to content

Commit

Permalink
fix contract bugs for gauge_type; add twocryptong handler
Browse files Browse the repository at this point in the history
  • Loading branch information
bout3fiddy committed Feb 19, 2024
1 parent a2be8c9 commit d243a53
Show file tree
Hide file tree
Showing 6 changed files with 492 additions and 5 deletions.
2 changes: 1 addition & 1 deletion contracts/mainnet/MetaRegistry.vy
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#pragma version ^0.3.7
#pragma version 0.3.10
"""
@title Curve Meta Registry
@license MIT
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def _get_gauge_type(_gauge: address) -> int128:
success, response = raw_call(
GAUGE_CONTROLLER,
concat(
method_id("gauge_type(address)"),
method_id("gauge_types(address)"),
convert(_gauge, bytes32),
),
max_outsize=32,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def _get_gauge_type(_gauge: address) -> int128:
success, response = raw_call(
GAUGE_CONTROLLER,
concat(
method_id("gauge_type(address)"),
method_id("gauge_types(address)"),
convert(_gauge, bytes32),
),
max_outsize=32,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ def _get_gauge_type(_gauge: address) -> int128:
success, response = raw_call(
GAUGE_CONTROLLER,
concat(
method_id("gauge_type(address)"),
method_id("gauge_types(address)"),
convert(_gauge, bytes32),
),
max_outsize=32,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def _get_gauge_type(_gauge: address) -> int128:
success, response = raw_call(
GAUGE_CONTROLLER,
concat(
method_id("gauge_type(address)"),
method_id("gauge_types(address)"),
convert(_gauge, bytes32),
),
max_outsize=32,
Expand Down
Loading

0 comments on commit d243a53

Please sign in to comment.