velodrome/transform/plugins/states.go
func (m *MultiState) Age(t time.Time) time.Duration {
	minAge := time.Duration(1<<63 - 1)
	for _, state := range m.states {
		stateAge := state.Age(t)
		if stateAge < minAge {
			minAge = stateAge
		}
	}
	return minAge
}
func (m *MultiState) Age(t time.Time) time.Duration {
	minAge := time.Duration(1<<63 - 1)
	for _, state := range m.states {
		stateAge := state.Age(t)
		if stateAge < minAge {
			minAge = stateAge
		}
	}
	return minAge
}
// Age returns the time since all states have been activated.
// It will panic if any of the state is not active.