Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
notJoon committed Jan 24, 2025
1 parent 3421165 commit 70834d8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions contract/p/gnoswap/launchpad/info_type.gno
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ func NewTimeInfo(height, time uint64) TimeInfo {
return TimeInfo{height, time}
}

func (t *TimeInfo) isEnded(current uint64) bool {
return t.Height() < current
}

type RefundInfo struct {
amount uint64
height uint64
Expand Down

0 comments on commit 70834d8

Please sign in to comment.