diff --git a/x/superfluid/types/errors.go b/x/superfluid/types/errors.go index b15c59108c8..27db450f7d5 100644 --- a/x/superfluid/types/errors.go +++ b/x/superfluid/types/errors.go @@ -53,23 +53,6 @@ func (e LockOwnerMismatchError) Error() string { return fmt.Sprintf("lock ID %d owner %s does not match provided owner %s.", e.LockId, e.LockOwner, e.ProvidedOwner) } -type SharesToMigrateDenomPrefixError struct { - Denom string - ExpectedDenomPrefix string -} - -func (e SharesToMigrateDenomPrefixError) Error() string { - return fmt.Sprintf("shares to migrate denom %s does not have expected prefix %s.", e.Denom, e.ExpectedDenomPrefix) -} - -type LockBothSuperfluidBondedAndUnbondingError struct { - LockId uint64 -} - -func (e LockBothSuperfluidBondedAndUnbondingError) Error() string { - return fmt.Sprintf("lock ID %d is both superfluid bonded and unbonding.", e.LockId) -} - type NegativeDurationError struct { Duration time.Duration } @@ -78,23 +61,6 @@ func (e NegativeDurationError) Error() string { return fmt.Sprintf("duration cannot be negative (%s)", e.Duration) } -type MigrateMoreSharesThanLockHasError struct { - SharesToMigrate string - SharesInLock string -} - -func (e MigrateMoreSharesThanLockHasError) Error() string { - return fmt.Sprintf("cannot migrate more shares (%s) than lock has (%s)", e.SharesToMigrate, e.SharesInLock) -} - -type TwoTokenBalancerPoolError struct { - NumberOfTokens int -} - -func (e TwoTokenBalancerPoolError) Error() string { - return fmt.Sprintf("balancer pool must have two tokens, got %d tokens", e.NumberOfTokens) -} - type UnexpectedDenomError struct { ExpectedDenom string ProvidedDenom string